package com.shz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author shz
 * @since 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Blog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "笔记标题")
    private String title;
    @ApiModelProperty(value = "笔记内容")
    private String content;

    @TableField("createTime")
    private Date createtime;
    @ApiModelProperty(value = "发布地址")
    private String address;
    @ApiModelProperty(value = "点赞数")
    private int liked;
    private double x;
    private double y;
    @ApiModelProperty(value = "是否不公开(否false/是true)")
    @TableField("isHide")
    private Boolean isHide;
    private Boolean status;
    @ApiModelProperty(value = "收藏数")
    private int mark;
    private Integer uid;
    @ApiModelProperty(value = "未通过审核原因（创建时不传）")
    private String cause;
    private Boolean see;
    @ApiModelProperty(value = "图片路径列表")
    @TableField(exist = false)
    private List<String> urls;
    private String username;

}
